<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="${basePath}resources/js/main/observation-record.js" type="text/javascript"></script>
</head>
<body>
<div id="wellQuery">
  		<div><input id="obsrecord_queryText" type="text"><input type="button" onclick="observationrecord.loadList(1)" value="查询"></div>
  	</div>
  	<div style="text-align: right;border-top: solid 1px #f9f9f9;padding-right: 18px;">
  	<input type="button" value="新增观察记录" onclick="observationrecord.openAddDialog()">
  	</div>
    <div id="obsRecordTable">
    	
    </div>
  	<div id="addObsRecordDialog" title="新增观察记录" style="display: none;">
  	<form id="add_form" action="${basePath}app/obsRecord/doAddRecord" method="post" target="callback">
  		<div style="float: left;">
  		<div><label class="formitem">选择矿井：</label><select id="addObsRecord_wellId" class="formitem_text" name="wellId"></select></div>
  		<div><label class="formitem">日期：</label><input id="addObsRecord_date" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">班次：</label><input name="order_" class="formitem_text"></input></div>
  		<div><label class="formitem">接班井深：</label><input name="depthBegin" class="formitem_text"></input>米</div>
  		<div><label class="formitem">交班深度：</label><input name="depthEnd" class="formitem_text"></input>米</div>
  		<div><label class="formitem">岩层：</label><input name="rockLayer" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">迟到时间：</label><input name="timeLate" class="formitem_text" type="text"/>分钟</div>
  		<div><label class="formitem">荧光录井：</label><input name="countLujing" class="formitem_text" type="text"/>点</div>
  		<div><label class="formitem">岩屑录井井段：</label><input name="depthRockLujing" class="formitem_text"/>米</div>
  		<div><label class="formitem">报数：</label><input name="countPackage" class="formitem_text"/>包</div>
  		<div><label class="formitem">班进尺：</label><input name="lengthTeam" class="formitem_text"/>米</div>
  		<div><label class="formitem">相对密度：</label><input name="densityRelative" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">粘度：</label><input name="viscosity" class="formitem_text" type="text"/>s</div>
  		<div><label class="formitem">含砂：</label><input name="volSand" class="formitem_text" type="text"/>%</div>
  		<div><label class="formitem">失水：</label><input name="lostWater" class="formitem_text" type="text"/>ml</div>
  		<div><label class="formitem">泥饼：</label><input name="mudpie" class="formitem_text" type="text"/>mm</div>
  		<div><label class="formitem">PH值：</label><input name="ph" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">切力：</label><input name="shearForce" class="formitem_text"></input>mg/cm3</div>
  		<div><label class="formitem">氯离子含量：</label><input name="clPerL" class="formitem_text"/>mg/L</div>
  		<div><label class="formitem">钻压：</label><input name="drillPressure" id="add_dateFinishWell" class="formitem_text"/>KN</div>
  		<div><label class="formitem">泵压：</label><input name="pumpPressuer" class="formitem_text" type="text"/>MPa</div>
  		</div>
  		<div>
  		<div><label class="formitem">转数：</label><input name="countRotationPerM" class="formitem_text" type="text"/>r/min</div>
  		<div><label class="formitem">排量：</label><input name="dispacementPerS" class="formitem_text" type="text"/>L/s</div>
  		<div><label class="formitem">钻头规格长度：</label><input name="lengthHeader" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻铤+接头：</label><input name="lengthZuantingAndJunction" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">取心筒：</label><input name="lengthQuxintong" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻杆长：</label><input name="lengthZuangan" class="formitem_text"></input>米</div>
  		<div><label class="formitem">方入：</label><input name="lengthFangru" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">井深：</label><input name="depthWell" class="formitem_text"/>米</div>
  		<div><label class="formitem">斜度：</label><input name="inclination" class="formitem_text"/>°</div>
  		<div><label class="formitem">方位：</label><input name="orientationDegree" class="formitem_text" type="text"/>°</div>
  		<div><label class="formitem">岩性：</label><textarea name="rockfeature" class="formitem_text"></textarea></div>
  		<div><label class="formitem">油气水显示：</label><textarea name="oilGasWater" class="formitem_text"></textarea></div>
  		<div><label class="formitem">工程简况：</label><textarea name="projIntroduction" class="formitem_text"></textarea></div>
  		<div><label class="formitem">其他：</label><textarea name="other" class="formitem_text"></textarea></div>
  		<div><label class="formitem">值班人：</label><input name="personOnDuty" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">接班人：</label><input name="personTakeOver" class="formitem_text"></input></div>
  		<div><label class="formitem">审核人：</label><input name="auditer" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：${sessionScope.user.username}</span></div>
  		<div style="text-align: center;clear: left;"><input type="reset" value="重置"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<div id="detailObsRecordDialog" title="查看" style="display:none;">
  		<div style="float: left;">
  		<div><label class="formitem">矿井名称：</label><input id="detailObsRecord_wellName" disabled="disabled"  class="formitem_text"></input></div>
  		<div><label class="formitem">日期：</label><input id="detailObsRecord_date" disabled="disabled" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">班次：</label><input id="detailObsRecord_order_" disabled="disabled" name="order_" class="formitem_text"></input></div>
  		<div><label class="formitem">接班井深：</label><input id="detailObsRecord_depthBegin" disabled="disabled" name="depthBegin" class="formitem_text"></input>米</div>
  		<div><label class="formitem">交班深度：</label><input id="detailObsRecord_depthEnd" disabled="disabled" name="depthEnd" class="formitem_text"></input>米</div>
  		<div><label class="formitem">岩层：</label><input id="detailObsRecord_rockLayer" disabled="disabled" name="rockLayer" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">迟到时间：</label><input id="detailObsRecord_timeLate" disabled="disabled" name="timeLate" class="formitem_text" type="text"/>分钟</div>
  		<div><label class="formitem">荧光录井：</label><input id="detailObsRecord_countLujing" disabled="disabled" name="countLujing" class="formitem_text" type="text"/>点</div>
  		<div><label class="formitem">岩屑录井井段：</label><input id="detailObsRecord_depthRockLujing" disabled="disabled" name="depthRockLujing" class="formitem_text"/>米</div>
  		<div><label class="formitem">报数：</label><input id="detailObsRecord_countPackage" disabled="disabled" name="countPackage" class="formitem_text"/>包</div>
  		<div><label class="formitem">班进尺：</label><input id="detailObsRecord_lengthTeam" disabled="disabled" name="lengthTeam" class="formitem_text"/>米</div>
  		<div><label class="formitem">相对密度：</label><input id="detailObsRecord_densityRelative" disabled="disabled" name="densityRelative" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">粘度：</label><input id="detailObsRecord_viscosity" disabled="disabled" name="viscosity" class="formitem_text" type="text"/>s</div>
  		<div><label class="formitem">含砂：</label><input id="detailObsRecord_volSand" disabled="disabled" name="volSand" class="formitem_text" type="text"/>%</div>
  		<div><label class="formitem">失水：</label><input id="detailObsRecord_lostWater" disabled="disabled" name="lostWater" class="formitem_text" type="text"/>ml</div>
  		<div><label class="formitem">泥饼：</label><input id="detailObsRecord_mudpie" disabled="disabled" name="mudpie" class="formitem_text" type="text"/>mm</div>
  		<div><label class="formitem">PH值：</label><input id="detailObsRecord_ph" disabled="disabled" name="ph" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">切力：</label><input id="detailObsRecord_shearForce" disabled="disabled" name="shearForce" class="formitem_text"></input>mg/cm3</div>
  		<div><label class="formitem">氯离子含量：</label><input id="detailObsRecord_clPerL" disabled="disabled" name="clPerL" class="formitem_text"/>mg/L</div>
  		<div><label class="formitem">钻压：</label><input id="detailObsRecord_drillPressure" disabled="disabled" name="drillPressure" id="add_dateFinishWell" class="formitem_text"/>KN</div>
  		<div><label class="formitem">泵压：</label><input id="detailObsRecord_pumpPressuer" disabled="disabled" name="pumpPressuer" class="formitem_text" type="text"/>MPa</div>
  		</div>
  		<div>
  		<div><label class="formitem">转数：</label><input id="detailObsRecord_countRotationPerM" disabled="disabled" name="countRotationPerM" class="formitem_text" type="text"/>r/min</div>
  		<div><label class="formitem">排量：</label><input id="detailObsRecord_dispacementPerS" disabled="disabled" name="dispacementPerS" class="formitem_text" type="text"/>L/s</div>
  		<div><label class="formitem">钻头规格长度：</label><input id="detailObsRecord_lengthHeader" disabled="disabled" name="lengthHeader" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻铤+接头：</label><input id="detailObsRecord_lengthZuantingAndJunction" disabled="disabled" name="lengthZuantingAndJunction" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">取心筒：</label><input id="detailObsRecord_lengthQuxintong" disabled="disabled" name="lengthQuxintong" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻杆长：</label><input id="detailObsRecord_lengthZuangan" disabled="disabled" name="lengthZuangan" class="formitem_text"></input>米</div>
  		<div><label class="formitem">方入：</label><input id="detailObsRecord_lengthFangru" disabled="disabled" name="lengthFangru" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">井深：</label><input id="detailObsRecord_depthWell" disabled="disabled" name="depthWell" class="formitem_text"/>米</div>
  		<div><label class="formitem">斜度：</label><input id="detailObsRecord_inclination" disabled="disabled" name="inclination" class="formitem_text"/>°</div>
  		<div><label class="formitem">方位：</label><input id="detailObsRecord_orientationDegree" disabled="disabled" name="orientationDegree" class="formitem_text" type="text"/>°</div>
  		<div><label class="formitem">岩性：</label><textarea id="detailObsRecord_rockfeature" disabled="disabled" name="rockfeature" class="formitem_text"></textarea></div>
  		<div><label class="formitem">油气水显示：</label><textarea id="detailObsRecord_oilGasWater" disabled="disabled" name="oilGasWater" class="formitem_text"></textarea></div>
  		<div><label class="formitem">工程简况：</label><textarea id="detailObsRecord_projIntroduction" disabled="disabled" name="projIntroduction" class="formitem_text"></textarea></div>
  		<div><label class="formitem">其他：</label><textarea id="detailObsRecord_other" disabled="disabled" name="other" class="formitem_text"></textarea></div>
  		<div><label class="formitem">值班人：</label><input id="detailObsRecord_personOnDuty" disabled="disabled" name="personOnDuty" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">接班人：</label><input id="detailObsRecord_personTakeOver" disabled="disabled" name="personTakeOver" class="formitem_text"></input></div>
  		<div><label class="formitem">审核人：</label><input id="detailObsRecord_auditer" disabled="disabled" name="auditer" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：<span id="detailObsRecord_owner"></span></span><span>录入时间：</span><span id="detailObsRecord_dateInput"></span></div>
  	</div>
  	<div id="updateObsRecordDialog" title="修改观察记录" style="display: none;">
  			<form id="add_form" action="${basePath}app/obsRecord/doUpdateRecord" method="post" target="callback">
  		<div style="float: left;">
  		<div><label class="formitem">选择矿井：</label><select id="updateObsRecord_wellId" class="formitem_text" name="wellId"></select></div>
  		<div><label class="formitem">日期：</label><input id="updateObsRecord_date" name="date" class="formitem_text" type="text"></input></div>
  		<div><label class="formitem">班次：</label><input id="updateObsRecord_order_" name="order_" class="formitem_text"></input></div>
  		<div><label class="formitem">接班井深：</label><input id="updateObsRecord_depthBegin" name="depthBegin" class="formitem_text"></input>米</div>
  		<div><label class="formitem">交班深度：</label><input id="updateObsRecord_depthEnd" name="depthEnd" class="formitem_text"></input>米</div>
  		<div><label class="formitem">岩层：</label><input id="updateObsRecord_rockLayer" name="rockLayer" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">迟到时间：</label><input id="updateObsRecord_timeLate" name="timeLate" class="formitem_text" type="text"/>分钟</div>
  		<div><label class="formitem">荧光录井：</label><input id="updateObsRecord_countLujing" name="countLujing" class="formitem_text" type="text"/>点</div>
  		<div><label class="formitem">岩屑录井井段：</label><input id="updateObsRecord_depthRockLujing" name="depthRockLujing" class="formitem_text"/>米</div>
  		<div><label class="formitem">报数：</label><input id="updateObsRecord_countPackage" name="countPackage" class="formitem_text"/>包</div>
  		<div><label class="formitem">班进尺：</label><input id="updateObsRecord_lengthTeam" name="lengthTeam" class="formitem_text"/>米</div>
  		<div><label class="formitem">相对密度：</label><input id="updateObsRecord_densityRelative" name="densityRelative" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">粘度：</label><input id="updateObsRecord_viscosity" name="viscosity" class="formitem_text" type="text"/>s</div>
  		<div><label class="formitem">含砂：</label><input id="updateObsRecord_volSand" name="volSand" class="formitem_text" type="text"/>%</div>
  		<div><label class="formitem">失水：</label><input id="updateObsRecord_lostWater" name="lostWater" class="formitem_text" type="text"/>ml</div>
  		<div><label class="formitem">泥饼：</label><input id="updateObsRecord_mudpie" name="mudpie" class="formitem_text" type="text"/>mm</div>
  		<div><label class="formitem">PH值：</label><input id="updateObsRecord_ph" name="ph" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">切力：</label><input id="updateObsRecord_shearForce" name="shearForce" class="formitem_text"></input>mg/cm3</div>
  		<div><label class="formitem">氯离子含量：</label><input id="updateObsRecord_clPerL" name="clPerL" class="formitem_text"/>mg/L</div>
  		<div><label class="formitem">钻压：</label><input id="updateObsRecord_drillPressure" name="drillPressure" id="add_dateFinishWell" class="formitem_text"/>KN</div>
  		<div><label class="formitem">泵压：</label><input id="updateObsRecord_pumpPressuer" name="pumpPressuer" class="formitem_text" type="text"/>MPa</div>
  		</div>
  		<div>
  		<div><label class="formitem">转数：</label><input id="updateObsRecord_countRotationPerM" name="countRotationPerM" class="formitem_text" type="text"/>r/min</div>
  		<div><label class="formitem">排量：</label><input id="updateObsRecord_dispacementPerS" name="dispacementPerS" class="formitem_text" type="text"/>L/s</div>
  		<div><label class="formitem">钻头规格长度：</label><input id="updateObsRecord_lengthHeader" name="lengthHeader" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻铤+接头：</label><input id="updateObsRecord_lengthZuantingAndJunction" name="lengthZuantingAndJunction" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">取心筒：</label><input id="updateObsRecord_lengthQuxintong" name="lengthQuxintong" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">钻杆长：</label><input id="updateObsRecord_lengthZuangan" name="lengthZuangan" class="formitem_text"></input>米</div>
  		<div><label class="formitem">方入：</label><input id="updateObsRecord_lengthFangru" name="lengthFangru" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">井深：</label><input id="updateObsRecord_depthWell" name="depthWell" class="formitem_text"/>米</div>
  		<div><label class="formitem">斜度：</label><input id="updateObsRecord_inclination" name="inclination" class="formitem_text"/>°</div>
  		<div><label class="formitem">方位：</label><input id="updateObsRecord_orientationDegree" name="orientationDegree" class="formitem_text" type="text"/>°</div>
  		<div><label class="formitem">岩性：</label><textarea id="updateObsRecord_rockfeature" name="rockfeature" class="formitem_text"></textarea></div>
  		<div><label class="formitem">油气水显示：</label><textarea id="updateObsRecord_oilGasWater" name="oilGasWater" class="formitem_text"></textarea></div>
  		<div><label class="formitem">工程简况：</label><textarea id="updateObsRecord_projIntroduction" name="projIntroduction" class="formitem_text"></textarea></div>
  		<div><label class="formitem">其他：</label><textarea id="updateObsRecord_other" name="other" class="formitem_text"></textarea></div>
  		<div><label class="formitem">值班人：</label><input id="updateObsRecord_personOnDuty" name="personOnDuty" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">接班人：</label><input id="updateObsRecord_personTakeOver" name="personTakeOver" class="formitem_text"></input></div>
  		<div><label class="formitem">审核人：</label><input id="updateObsRecord_auditer" name="auditer" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：<span id="updateObsRecord_owner"></span></span><span>录入时间：</span><span id="updateObsRecord_dateInput"></span><input id="updateObsRecord_id" name="id" type="hidden"/></div>
  		<div style="text-align: center;clear: left;"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<iframe id="callback" style="display: none;"></iframe>
</body>
</html>